package com.course.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface PostMapper {
    int addpost(Map<String,Object> map);
    List<Map<String,Object>> displaypost();
    int addcomment(Map<String,Object> map);
    List<Map<String,Object>> displaycomment(Map<String,Object> map);
    int deletepost(Map<String,Object>map);
}
